package com.moliku.insurance.model.entity.cpic;

import lombok.Data;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import java.io.Serializable;
import java.util.List;

/**
 * @Description: 太平洋保险--保单提交请求
 * @Author: yws
 * @Date: 2021/3/6 16:58
 * XmlAccessorType  绑定字段到XML
 * XmlRootElement   XML文件中的根标识
 * XmlType  控制JAXB绑定类中属性和字段的排序
 */
@Data
@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement(name = "PolicyApplyRequest")
@XmlType(propOrder = {
        "PolicyBaseInfo",
        "Applicant",
        "InsuredList",
        "EPolicyInfo",
})
public class PolicyApplyRequest implements Serializable {
    private static final long serialVersionUID = -2011891684710439375L;

    /**
     * 投保保单基本信息
     */
    private PolicyBaseInfo PolicyBaseInfo;

    /**
     * 投保人信息
     */
    private CpicApplicant Applicant;

    /**
     * 被保险人信息列表
     */
    private List<CpicInsuredList> InsuredList;

    /**
     * 电子保单关联信息
     */
    private EPolicyInfo EPolicyInfo;

}
